IMotion.SimulateAxisCam method

Simulates the cam interpolation results. Can be used before a cam is applied to an axis to make sure the slave is in the right position.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsReturn<McCamInfo> SimulateAxisCam(
       int Index,
       double MasterPosition,
       double MasterOffset,
       double SlaveOffset,
       double MasterScaling,
       double SlaveScaling
)
Function SimulateAxisCam(
       Index As Integer,
       MasterPosition As Double,
       MasterOffset As Double,
       SlaveOffset As Double,
       MasterScaling As Double,
       SlaveScaling As Double
) As KsReturn(Of McCamInfo)

Parameters

Index [in]

Type: int

The index of a cam table. Indexes are zero based. Aliases affect this parameter.

 

MasterPosition [in]

Type: double

The master position in the cam table.

 

MasterOffset [in]

Type: double

The offset to the positions of the master axis in the cam table.

 

SlaveOffset [in]

Type: double

The offset to the positions of the slave axis in the cam table.

 

MasterScaling [in]

Type: double

The factor for the master profile (default = 1.0). From the slave point of view the overall master profile is multiplied by this factor.

 

SlaveScaling [in]

Type: double

The factor for the slave profile (default = 1.0). The overall slave profile is multiplied by this factor.

Return value

Type: KsReturn<McCamInfo>

Returns a KsError code and an McCamInfo value.

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace